import request from '../utils/request'

function login(data) {
    return request.post("/api/login", data)
}


function register(data) {
    return request.post("/api/register", data)
}

function dlList(data) {
    return request.get("/api/dlList", data)
}
//新房   求租  求购
function hotRoom(data) {
    return request.get("/api/hotRoom", data)
}


function newsList(data) {
    return request.get("/api/newsList", data)
}



//直播
function liveList(data) {
    return request.get("/api/liveList", data)
}

//团购
function tableData2(data) {
    return request.get("/api/tableData2", data)
}


//楼市圈
function housingRing(data) {
    return request.get("/api/housingRing", data)
}

export {
    login,
    register,
    dlList,
    hotRoom,
    newsList,
    liveList,
    tableData2,
    housingRing
}